<div class="titleleft001"><img src="images/Register-icon.png"/> Tài Khoản</div>
<!-- start subleft001 -->
<div class="subleft001">
<?php
$email=isset($_REQUEST['email001'])?$_REQUEST['email001']:"";
$pass=isset($_REQUEST['pass'])?$_REQUEST['pass']:"";
if(isset($_SESSION["kiemtradangnhap"]))
{ ?>
<div>Xin Chào :<?php echo "<span class='tentk'>".$_SESSION["hoten"]."</span>";?></div>
<div class="thongtindatsan"><a href="?action=Thông Tin Đặt Sân">Thông tin đặt sân</a></div>
<div class="thongtindatsan"><a href="?action=doimatkhau">Đổi mật khẩu</a></div>
<div><a href="?action=dangxuat">Đăng xuất</a></div>
<?php
}
else
{
?>
<form action="include/dangnhap/dangnhapxuly.php" method="post">
<input type="hidden" name="action" value="dangnhap" />
<div class="email001">
	Email :<span><input type="text" name="email001" /></span>
</div>
<div class="pass">
	Pass : <span><input type="text" name="matkhau001" /></span>
</div>
<div class="loginevent">
	<div class="dannhap"><input type="submit" name="submit" value="Đăng Nhập" /> </div>
    <div class="dangky"><a href="?action=dangky">Đăng ký</a></div>
    <div class="quenmatkhau"><a href="?action=Quên Mật Khẩu">Quên mật khẩu</a></div>
</div>
</form>

</form>
<?php } ?>
</div>
<!-- end subleft001 -->